﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using crazy.Authorization.Roles;
using crazy.Authorization.Users;
using crazy.MultiTenancy;

namespace crazy.EntityFrameworkCore
{
    public class crazyDbContext : AbpZeroDbContext<Tenant, Role, User, crazyDbContext>
    {
        /* Define a DbSet for each entity of the application */
        //由于文件夹名称和类文件同名所以需要Goods.Goods不然只需要类名Goods就行了
        public DbSet<Goods.Goods> Goods { get; set; }
        public crazyDbContext(DbContextOptions<crazyDbContext> options)
            : base(options)
        {
            
        }
    }
}
